package cn.kgc.service.impl;

import cn.kgc.bean.dto.ProcessDto;
import cn.kgc.bean.pojo.CProcess;
import cn.kgc.mapper.ProcessMapper;
import cn.kgc.service.ProcessService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ProcessServiceImpl extends ServiceImpl<ProcessMapper, CProcess> implements ProcessService {
@Resource
private ProcessMapper processMapper;
    @Override
    public List<ProcessDto> getProcessAllInfo() {
        return processMapper.getProcessAllInfo();
    }
}
